﻿using System;
using System.ComponentModel.Composition;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using SilverAmp.Shared;

namespace SilverAmp.Extensions.PlayListExtension
{
  //  [Export(typeof(ISilverAmpExtension))]   
       [SilverAmpExportExtension(Type = ExtensionType.Regular)]
    public class PlayListExtension : ISilverAmpExtension
    {       
        [Import]
        public PlayListExtensionViewModel ViewModel { get; set; }
      
        
        public string Name
        {
            get { return "Playlist"; }
        }
        public string DisplayIcon { get { return "http://localhost:6464/ClientBin/4.png"; } }

        public UserControl ExtensionUi
        {
            get { return ViewModel.View; }
        }

        public void Initialize()
        {
           ViewModel.Initialize();
        }

        public bool IsVisibleInMenu { get { return true; } }
    }

   
}
